/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

/**
 *
 * @author JoseHernan
 */
public class B_PersonaEmail {

    private int id;
    private String email;
    private B_Persona objPersona;
    private String user;

    public B_PersonaEmail() {
        this.id = 0;
        this.email = "";
        this.objPersona = new B_Persona();
        this.user = "";
    }

    public B_PersonaEmail(int id, String email, B_Persona objPersona, String user) {
        this.id = id;
        this.email = email;
        this.objPersona = objPersona;
        this.user = user;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public B_Persona getObjPersona() {
        return objPersona;
    }

    public void setObjPersona(B_Persona objPersona) {
        this.objPersona = objPersona;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

}
